package com.example.kotlinfindcar

import android.util.Log
import com.alibaba.android.arouter.launcher.ARouter
import com.example.kotlinfindcar.databinding.ActivitySplashBinding
import com.example.kt_common.base.BaseActivity
import com.example.kt_common.util.Constants

class SplashActivity : BaseActivity<ActivitySplashBinding>() {

    override fun getLayoutID(): Int {
        return R.layout.activity_splash
    }

    override fun init() {
//        val oldTime = System.currentTimeMillis()
//        Log.d("TAG", oldTime.toString())
        Log.d(TAG, "App-- start")
        ARouter.getInstance().build(Constants.PATH_LOGIN).navigation()
        finish()
    }

}